package com.ant.cn.appb;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.ant.cn.mylibrary.base.BaseActivity;

public class MainActivity extends BaseActivity implements View.OnClickListener {

    private TextView otv;


    @Override
    public int getLaout() {
        return R.layout.activity_main;
    }

    @Override
    public void initView() {
        otv = (TextView) findViewById(R.id.ac_main_tv_01);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {
        otv.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.ac_main_tv_01:
               startActivity(new Intent("www.ant.cn.app01.test01"));
                break;
        }
    }
}
